<template>
  <basic-container>
    <avue-crud v-bind="bindVal"
               v-on="onEvent"
               :page.sync="page"
               v-model="form">

      <template slot="menuLeft" slot-scope="scope">
        <el-button type="danger" v-if="permission.delCodeShow===undefined?false:permission.delCodeShow" icon="el-icon-delete" size="small" @click.stop="deletes()">批量删除</el-button>
      </template>

      <template slot="accessTokenValidity" slot-scope="scope">
        <el-tag>{{scope.row.accessTokenValidity}}秒</el-tag>
      </template>

      <template slot="refreshTokenValidity" slot-scope="scope">
        <el-tag>{{scope.row.refreshTokenValidity}}秒</el-tag>
      </template>

    </avue-crud>
  </basic-container>
</template>

<script>


export default window.$crudCommon({
  data () {
    return {
    }
  },
  created () {
  },
  methods: {

  }
}, {
  name: '/system/client',
  data: 'list'
})
</script>

<style lang="scss" scoped>
</style>